Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


LaunchExternalProcess

This procedure launches an external process.

Location: af\app\afsesmngrp.i

Parameters:

INPUT pcCommandLine AS CHARACTER

The command line, for example, “notepad.exe”.

INPUT pcCurrentDirectory AS CHARACTER

The default directory for the process.

INPUT piShowWindow AS INTEGER

The show window flag accepts the following values:

OUTPUT piResult AS INTEGER

Returns 0 if it fails, or the handle of the new process.

Notes: This procedure uses the createProcess function from af\sup\windows.i.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095